package com.huidu.bitrade.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("ba_uorder")
public class BaUorder{

    private Long id;

    private Long mId;
    private String clientOrderId;
    private String cumQty;    //存疑
    private String cumQuote;  //存疑-待测试看返回数据类型进行具体修改
    private String executedQty;
    private long orderId;
    private String avgPrice;
    private String origQty;
    private String price;
    private boolean reduceOnly;
    private String side;
    private String positionSide;
    private String status;
    private String stopPrice;
    private Integer closePosition;
    private String symbol;
    private String timeInForce;
    private String type;
    private String origType;
    private String activatePrice;
    private String priceRate;
    private long updateTime;
    private String workingType;
    private boolean priceProtect;
    private String priceMatch;
    private String selfTradePreventionMode;
    private long goodTillDate;
}
